
#ifndef __I2C2_H_
#define __I2C2_H_

#include <stdint.h>




int sgm_read(unsigned char point_reg,unsigned char *r_pdata);
int sgm_read_nbyte(unsigned char point_reg,unsigned char *r_pdata, unsigned char len);
int sgm_write(unsigned char point_reg,unsigned char *w_pdata);
int sgm_write_nbyte(unsigned char point_reg,unsigned char *w_pdata, unsigned char len);


#endif



